<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input id="c-id" disabled class="form-control" name="row[id]" type="hidden" value="{$ids}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('用户')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nickname" disabled class="form-control" name="row[nickname]" type="text" value="{$row.nickname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('课程')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-course_name" disabled class="form-control"  name="row[course_name]" type="text" value="{$row.course_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('支付方式')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_type_text" disabled class="form-control"  name="row[pay_type_text]" type="text" value="{$row.pay_type_text|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('课程金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" disabled class="form-control"  name="row[price]" type="text" value="{$row.price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('实付金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_money" disabled class="form-control"  name="row[pay_money]" type="text" value="{$row.pay_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('商家')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merchant_name" disabled class="form-control" name="row[merchant_name]" type="text" value="{$row.merchant_name|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">

            <button type="button" class="btn btn-success btn-status-click" data-order='{"status":1,"id":{$ids}}'>驳回</button>
            <button type="button" class="btn btn-success btn-status-click" data-order='{"status":4,"id":{$ids}}'>审核通过</button>
        </div>
    </div>
</form>
<script type="text/javascript">
    // === 设置分数上限
    function cs (price) {

        console.log("进入方法","number =",price.value);
        const moment = require('moment');
        var max_integral= moment().format('YYYY-MM-DD HH:mm:ss');
        $("#c-confirmdetection_time").val(max_integral)
    }
</script>
